home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr16 / io0395.zip / FTUR01.TXT < prev    next >
Text File  |  1995-02-25  |  4KB  |  70 lines

  1. THE COPROCESSOR
  2. by Angela Levitt
  3.      
  4.     The math chip. The floating-point unit. The 
  5. coprocessor. Why, darned if those names don't roll so easily 
  6. off our tongue that, if the innocent bystander didn't know 
  7. better, it might be assumed that we really knew what the 
  8. thing does.
  9.     Well, to put it not very briefly, it's like 
  10. this: in computers built in days past, there was the central 
  11. processing unit, or CPU. Maybe it was an Intel 80286 or 386, 
  12. or possibly a Motorola 68020 or 030. In fact, it could have 
  13. been any of several processors; my point is that it was 
  14. nothing more than an integer CPU (for those who've been out 
  15. of school for a while, an integer is a whole number, no 
  16. fractions or decimals allowed), actually able to handle only 
  17. integer operations, though clever programming could allow it 
  18. to also work on the right side of the decimal point.
  19.  
  20. Isn't that cheating? 
  21.     If that sounds contradictory, try this example. Just 
  22. imagine an average man who can barely lift his own weight on 
  23. a good day after taking his vitamins. Equip him with a 
  24. properly-designed pulley system, though, and run a rope over 
  25. those pulleys. Presto! He can now lift twice his weight. 
  26. Along with all this newfound strength, you'll see another 
  27. change: the weight will rise at half the speed our man is 
  28. applying to his end of the rope.
  29.     With special programming acting as the pulley system, 
  30. the processor did the entire calculating job on your computer
  31. containing an integer CPU, with the result that some 
  32. calculations were slow. Other calculations (possibly 
  33. equivalent to our guy lifting ten or a hundred times his 
  34. weight) were so extremely slow that it was impractical to 
  35. use a computer that didn't have a special chip called the 
  36. floating point unit, designed to work on the right side of 
  37. the decimal point, for those operations. In fact, there are 
  38. some software applications that check for floating-point 
  39. capability when they're started, and will not run at all if 
  40. it isn't there.
  41.     In computers with the CPUs mentioned above, if the 
  42. purchaser paid the extra price to get a floating-point unit, 
  43. it was in the form of a separate chip. Your current-production 
  44. central processing unit, be it an 80486, a 68040, a Pentium, 
  45. or a PowerPC, contains both an integer function and a floating 
  46. point function, though the two are completely isolated from 
  47. each other inside the chip. If your computer doesn't have the 
  48. number-crunching capability that you would expect to accompany 
  49. that fact, it's because the floating-point function has been 
  50. disabled in your chip, not because it isn't there. The 
  51. manufacturers tell you this, but they do it in such a sneaky 
  52. way that you may not have noticed. If your Intel chip has an 
  53. "SX" after the number, or if your Motorola chip contains the 
  54. letters "LC," that's your clue. If there's a "DX" or no 
  55. letters at all, the FPU still works.
  56.     Why do they put something in the chip, then disable 
  57. it? Brace yourself: it's so they can make more money. Nothing 
  58. illegal, immoral or fattening here; it's just more efficient 
  59. to make lots of one chip than smaller numbers of two chips. 
  60.  
  61. And the payoff? 
  62.     Okay, all of that was just so we'd see that there are 
  63. two types of operations going on where numbers on both sides 
  64. of the decimal are concerned, and two processors to handle 
  65. those operations. When numbers must be crunched, the CPU 
  66. does the integers (again, whole numbers only) and the FPU 
  67. takes the rest. With the two chips working together, the 
  68. result is usually a dramatic improvement in computer speed 
  69. for complex tasks.
  70.             Copyright 1995 SeeJay Publications